tests/rendernode-create-tests.c: Don't use VLAs
authorChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 21 Jul 2017 07:58:38 +0000 (15:58 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 21 Jul 2017 15:35:54 +0000 (23:35 +0800)
commit4d3aa827f633669c2e911ed50c8a00c9a37c62f7
tree6662fe34187452ebb53b0d9d715e5a4e23b064c4
parent73e81b64b65c51988e2d2da8764480f4d485dad4
tests/rendernode-create-tests.c: Don't use VLAs

Replace uses of VLAs (variable-length arrays) using g_newa(), since
Visual Studio builds will unlikely ever support VLAs (which became optional
in C11).

https://bugzilla.gnome.org/show_bug.cgi?id=773299
tests/rendernode-create-tests.c